package com.huatai.bpmn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *	表单实体
 * </p>
 *
 * @author yxy
 * @since 2023-07-07
 */
@Data
@TableName("yy_form")
@ApiModel(value = "表单实体",description = "表单实体")
@Validated
public class YYFormEntity implements Serializable {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private LocalDateTime deleteTime;

    /**
     * 表单名称
     */
	@ApiModelProperty("表单名称")
    private String name;


    /**
     * 标识
     */
	@ApiModelProperty("标识")
    private String place;

    /**
     * 状态 0正常 1禁用
     */
	@ApiModelProperty("状态")
    private String status;


    /**
     * 描述
     */
	@ApiModelProperty("描述")
    private String description;



	@ApiModelProperty("排序")
    private BigDecimal sort;

	public static void main(String[] args) {
		Class<?> clazz = YYFormEntity.class;
		try {
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
